package com.liuyucheng.rpc;

public class AobingClient {
    public static void main(String[] args) throws Exception {
        //服务调用者只需要设置依赖
        AobingService service2 = AobingRpcFramework.refer(AobingService.class, "127.0.0.1", 2333);
        String result = service2.hello("张三");
        System.out.println(result);
    }
}
